package com.design.patterns.list.state.eg;

/**
 * @author Wangzhiwen
 */
public class ActivityClient {

    public static void main(String[] args) {
        ActivityContext activityContext = new ActivityContext(5);
        for (int i = 0; i < 50; i++) {
            activityContext.deduct();
            activityContext.lottery();
        }
    }

}
